<template>
	<view class="mainpadding">
		<u-parse :content="dataAll.content"></u-parse>
	</view>
</template>

<script>
	const httpRequest = require("@/common/httpRequest.js")
	export default {
		data() {
			return {
				show: false,
				dataAll: {}

			}
		},
		onLoad(options) {
			this.listid = options.id
			this.getDetail()
		},
		methods: {
			getDetail() {
				httpRequest.request("/api/index/noticeDetail", 'GET', {
					id: this.listid
				}, false, false, true).then(res => {
					this.dataAll = res.data
				})
			},
			close() {
				this.show = false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.guandys {
		position: absolute;
		right: 30rpx;
		top: 30rpx;
	}

	.xiaolbtn {
		width: 68rpx;
		height: 40rpx;
		background: #1BA95B;
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		font-size: 24rpx;
		font-family: PingFang SC-Regular, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
		display: flex;
		align-items: center;
		justify-content: center;
	}
</style>